package com.ss.android.lockscreen.component;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import com.ss.android.lockscreen.bb;

public final class e extends BroadcastReceiver {
    public e() {

    }

    public final void onReceive(Context arg5, Intent arg6) {
        bb.a();
        if(bb.c()) {
            if("android.intent.action.SCREEN_OFF".equals(arg6.getAction())) {
                bb.a();
                bb.b(arg5);
                this.abortBroadcast();
            }
            else if("android.intent.action.SCREEN_ON".equals(arg6.getAction())) {
                new Handler(arg5.getMainLooper()).postDelayed(new f(arg5), 500);
            }
        }
    }
}

